package ops.view.tables;

public class Column {

	private String columnName;
	private Class<?>  clazz;
	private int size;
	private boolean editable;
	
	public Column(String columnName, Class<?> clazz) {
		this(columnName, clazz, Integer.MIN_VALUE, false);
	}
	
	public Column(String columnName, Class<?> clazz, int size) {
		this(columnName, clazz, size, false);
	}
	
	public Column(String columnName, Class<?> clazz, boolean editable) {
		this(columnName, clazz, Integer.MIN_VALUE, editable);
	}		
	
	public Column(String columnName, Class<?> clazz, int size, boolean editable) {
		this.columnName = columnName;
		this.clazz = clazz;
		this.size = size;
		this.editable = editable;
	}

	public String getColumnName() {
		return columnName;
	}

	public Class<?> getClazz() {
		return clazz;
	}

	public int getSize() {
		return size;
	}

	public boolean isEditable() {
		return editable;
	}

}
